/*
 * Solo - A small and beautiful blogging system written in Java.
 * Copyright (c) 2010-present, b3log.org
 *
 * Solo is licensed under Mulan PSL v2.
 * You can use this software according to the terms and conditions of the Mulan PSL v2.
 * You may obtain a copy of Mulan PSL v2 at:
 *         http://license.coscl.org.cn/MulanPSL2
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PSL v2 for more details.
 */
/*
 * skin style
 *
 * @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
 * @version 0.4.1.0, Oct 4, 2019
 */
@import "../../../scss/reset";
@import "../../../scss/usite";
@import "../../../scss/toc";
@import "../../../scss/function";
@import "vditor/src/assets/scss/index";

$fade-lighter: rgba(255, 255, 255, .8) !default;
$gray: #738a94 !default;
$black: #15171a !default;
$black-bg: #232323 !default;
$link: rgb(119, 182, 255) !default;

body {
  background-color: #f4f8fb;
  font-family: 'Times New Roman', 'webfont', 'Noto Serif SC','Source Han Serif SC','Source Han Serif','source-han-serif-sc','PT Serif','SongTi SC','MicroSoft Yahei',Georgia,serif;
}

::selection {
  text-shadow: none;
  background-color: #cbeafb;
}

a {
  color: $link;
}

.vditor-reset::-webkit-scrollbar {
  display: none;
}

.ft__a {
  color: $gray;

  &:hover {
    color: rgba($gray, .8);
  }
}


.fn__flex-1 {
  .wrapper {
    margin-bottom: 50px;
  }
}
.fn__progress {
  position: fixed;
  right: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  border: none;
  background: transparent;
  -webkit-appearance: none;
  z-index: 3;

  &::-webkit-progress-value {
    background-color: $link;
    transition: width 0.2s ease 0s, opacity 0.6s ease 0s;
  }

  &::-webkit-progress-bar {
    background-color: transparent;
  }
}

@keyframes fade-in-down {
  0% {
    opacity: 0;
    transform: translateY(-10px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -webkit-transform: translateY(-10px);
    transform: translateY(-10px);
  }
  60% {
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
  }
}

@keyframes bounceInLeft {
  from {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: rotate3d(0, 0, 1, -45deg);
    transform: rotate3d(0, 0, 1, -45deg);
    opacity: 0;
  }

  to {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@keyframes bounceOutLeft {
  20% {
    opacity: 1;
    transform: translate3d(20px, 0, 0);
  }

  to {
    opacity: 0;
    transform: translate3d(-2000px, 0, 0);
  }
}

@keyframes beating {
  0% {
    transform: scale(1)
  }

  20% {
    transform: scale(1.6)
  }

  30% {
    transform: scale(1)
  }

  50% {
    transform: scale(1.6)
  }

  70%, to {
    transform: scale(1)
  }
}

.wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 10px;
}

.header {
  position: relative;
  z-index: 1;

  &--index {
    height: 100vh;

    &:before {
      content: "";
      height: 100%;
      position: absolute;
      width: 100%;
      top: 0;
      background-size: cover;
    }
  }

  &--article {
    display: none;
  }

  &__title {
    position: relative;
    align-items: center;
    height: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    z-index: 1;
  }

  &__h1 {
    letter-spacing: -1px;
    font-weight: 700;
    font-size: 50px;
    text-shadow: 0 3px 6px rgba(0, 0, 0, .3);
    animation: fade-in-down 1s both;
    animation-delay: .5s;

    a {
      color: #fff;

      &:hover {
        text-decoration: none;
        color: $fade-lighter;
      }
    }
  }

  &__desc {
    margin-top: 10px;
    color: $fade-lighter;
    line-height: 24px;
    text-shadow: 0 3px 6px rgba(0, 0, 0, .3);
    animation: fade-in-down .9s both;
    animation-delay: .3s;

    &--title {
      font-size: 20px;
      font-weight: 400;
    }
  }

  &__down {
    animation: bounce 4s 2s infinite;
    color: $fade-lighter;
    height: 34px;
    width: 34px;
    position: absolute;
    bottom: 10px;
    cursor: pointer;

    &:hover {
      color: #fff;
    }
  }
}
//添加三方博客链接地址
.side {
  &__menu {
    position: fixed;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 3px;
    font-size: 12px;
    text-transform: uppercase;
    color: #fff;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    transition: left .3s ease;

    &:hover {
      opacity: .6;
    }

    &--edge {
      left: -3px;
      font-size: 0;
      background-color: #333;
    }
  }

  &__main {
    display: none;
    opacity: 0;
    position: fixed;
    width: 100%;
    height: 100vh;
    z-index: 3;
    transition: all 1s ease;

    &--show {
      opacity: 1;

      .side__bg {
        background-color: rgba(0, 0, 0, 0.3);
      }

      .side__panel {
        animation-name: bounceInLeft;
      }
    }
  }

  &__bg {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 3;
    transition: background-color 1s ease;
  }

  &__panel {
    width: 280px;
    height: 100vh;
    overflow: auto;
    animation-name: bounceOutLeft;
    animation-duration: 1s;
    animation-fill-mode: both;
    position: fixed;
    left: 0;
    z-index: 4;
    top: 0;
    background-color: #000;

    &::-webkit-scrollbar {
      display: none;
    }
  }

  &__top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    height: 24px;
    width: 24px;
    cursor: pointer;
    color: #555;
    opacity: .5;
    transition: all .5s ease-out;

    &--toc {
      bottom: 54px;
      display: none;
    }

    &--bottom {
      transform: rotate(-180deg);
    }

    &:hover {
      opacity: 1;
    }
  }

  &__header {
    background: #000 url(https://img.lonuslan.com/lonuslan/20200120/jauHRsFJeDIL.gif) top/contain no-repeat;
    width: 100%;
    height: 239px;
    padding-top: 40px;
  }

  &__logo {
    width: 66px;
    height: 66px;
    border: 4px solid hsla(0, 0%, 100%, .5);
    border-radius: 100%;
    box-shadow: inset 1px 1px 4px rgba(0, 0, 0, .3), 0 2px 3px rgba(0, 0, 0, .4);
    margin: 0 auto 20px;
    display: block;
    transition: all .3s ease;

    &:hover {
      transform: rotate3d(0, 0, 1, -45deg);
    }
  }

  &__close {
    cursor: pointer;
    height: 16px;
    width: 16px;
    position: absolute;
    right: 10px;
    top: 10px;
  }

  &__meta {
    color: #fff;
    text-align: center;
  }

  &__title {
    position: relative;

    &:after {
      content: "";
      position: absolute;
      width: 100%;
      height: 1px;
      background-color: #3b3b3b;
    }

    span {
      position: absolute;
      top: -11px;
      left: 91px;
      z-index: 1;
      padding: 0 10px;
      background-color: #000;
      color: #b8b8b8;
    }
  }

  &__nav {
    flex: 1;
    margin: 30px 0 20px;
    padding: 0;
    counter-reset: item;

    li {
      height: 30px;
      display: flex;

      &:after {
        padding-right: 20px;
        text-align: right;
        vertical-align: bottom;
        color: #B8B8B8;
        content: counter(item, lower-roman);
        counter-increment: item;
      }

      a {
        color: #989898;
        text-decoration: none;
        line-height: 1.4;
        padding: 0 10px 0 20px;
        overflow: hidden;
        white-space: nowrap;

        &:after {
          display: inline-block;
          content: " .......................................................";
          color: rgba(255, 255, 255, 0.2);
          margin-left: 5px;
        }

        &:hover {
          color: #FFF;
        }
      }

      img {
        float: left;
        height: 14px;
        width: 14px;
        margin: 3px 4px 0 0;
      }
    }
  }
}

.footer {
  font-size: 12px;
  padding: 20px 0;
  background-color: $black-bg;
  color: #888;
  margin-top: 200px;
  line-height: 24px;
  text-align: center;

  .wrapper {
    position: relative;

    &:after {
      background: url(https://img.lonuslan.com/lonuslan/20200128/6hoVUQ86mszs.png) no-repeat center center / cover;
      position: absolute;
      bottom: 110px;
      left: -64px;
      width: 1040px;
      pointer-events: none;
      content: "";
      height: 315px;
    }
  }

  &__heart {
    display: inline-block;
    animation: beating 1s infinite;
    animation-timing-function: ease-out;
    margin: 0 3px 5px 8px;
  }

  svg {
    height: 20px;
    width: 20px;
    margin: 0 10px 5px;
  }

  a {
    color: $fade-lighter;

    &:hover {
      text-decoration: none;
      color: #fff;
    }
  }
}

.articles {
  margin: 40px auto;
  box-shadow: 8px 14px 38px rgba(39, 44, 49, .06), 1px 3px 8px rgba(39, 44, 49, .03);
  background-color: rgba(255, 255, 255, .9);
  border-radius: 5px;
  color: $gray;

  .item {
    border-bottom: 1px solid #f0f2f7;
    padding: 20px;

    &:last-child {
      border-bottom-width: 0;
    }

    &__title {
      & > a {
        color: $black;
        font-size: 24px;
        line-height: 24px;

        &:hover {
          text-decoration: none;
          color: rgba($black, 0.8);
        }
      }

      sup {
        font-size: 12px;
        font-weight: normal;
        color: rgba($gray, 0.8);

        a {
          color: rgba($gray, 0.8);
          cursor: text;

          &:hover {
            text-decoration: none;
          }

          &:visited {
            color: #fff;
          }
        }
      }
    }

    &__abstract {
      display: block;
      line-height: 24px;
      color: $black;
      font-size: 16px;
      margin: 10px 0;

      &:hover {
        text-decoration: none;
        color: rgba($black, 0.8);
      }
    }

    &__tag {
      display: inline-block;
      color: $gray;
      line-height: 14px;
      font-weight: 500;
      letter-spacing: .5px;
      text-transform: uppercase;

      &:hover {
        text-decoration: none;
        color: rgba($gray, 0.8);
      }
    }
  }
}

.pagination {
  text-align: center;
  margin-top: 40px;

  &__item {
    width: 30px;
    height: 30px;
    background: $black;
    border-radius: 50%;
    display: inline-block;
    color: #fff;
    line-height: 30px;
    font-size: 12px;
    margin: 0 5px 40px;

    &:hover,
    &--active {
      opacity: 0.68;
      text-decoration: none;
    }

    &--omit {
      background-color: transparent;
      color: $black;
    }
  }
}

.other {
  &__title {
    margin: 40px 0 10px;
    font-size: 28px;
    text-align: center;
    font-weight: 400;
  }

  &__item {
    line-height: 20px;
    margin: 20px 35px 0 35px;
    white-space: nowrap;
    display: block;
    color: $gray;
    word-break: break-all;

    &--archive {
      width: 150px;
      display: inline-block;
    }
  }
}

.article {
  &__bottom {

    .fn__flex {
      flex-wrap: wrap;
    }

    .item {
      position: relative;
      flex: 1 1 270px;
      margin: 40px 10px 40px;
      box-shadow: 8px 14px 38px rgba(39, 44, 49, 0.06), 1px 3px 8px rgba(39, 44, 49, 0.03);
      border-radius: 5px;
      padding: 20px;
      overflow: hidden;
      text-align: center;
      box-sizing: border-box;

      &:before {
        content: "";
        position: absolute;
        height: 100%;
        top: 0;
        left: 0;
        width: 100%;
        background: url(https://img.lonuslan.com/lonuslan/20200120/9P2HW1O4DSNl.jpg) no-repeat center center;
        background-size: cover;
        filter: brightness(68%) opacity(0.9);
      }

      h3 {
        color: #fff;
        position: relative;
        margin-bottom: 20px;
      }

      ul {
        padding-left: 0;
        position: relative;
        list-style: none;
      }

      a {
        display: block;
        border-bottom: 1px solid rgba($gray, .8);
        padding: 10px 0;
        color: #fff;
        margin: 0 20px;
      }
    }
  }

  &__top {
    width: 100%;
    height: 50vh;
    position: relative;
    z-index: 1;
    background-position: center;
    background-size: cover;

    div {
      max-width: 1404px;
      background-size: cover;
      background-position: center center;
      filter: sepia(0.2) contrast(1.3);
      height: 100%;
      margin: 0 auto;
    }

    canvas {
      position: absolute;
      top: 0;
      height: 100%;
      width: 100%;
    }
  }

  &__meta {
    padding-top: 40px;
    text-transform: uppercase;
    color: rgba($gray, .8);

    a {
      color: $gray;
    }
  }

  &__title {
    font-size: 28px;
    margin: 10px 0;

    sup {
      font-size: 14px;
      font-weight: normal;
      color: rgba($gray, .8);
    }
  }

  &__share {
    margin-bottom: 40px;
    position: relative;
    width: 200px;
    margin: 0 auto;

    .item {
      color: #fdc200;
      cursor: pointer;
      transition: all .3s ease;
      margin: 0 10px;

      svg {
        height: 20px;
        width: 20px;
      }

      &[data-type="wechat"] {
        color: #3caf36;
      }

      &[data-type="twitter"] {
        color: #18a3fa;
      }

      &[data-type="weibo"] {
        color: #f93;
      }

      &:hover {
        opacity: 0.6;
      }

      &__qr {
        position: absolute;
        top: 24px;
        left: 68px;
        height: 99px;
        width: 99px;
      }
    }
  }

  &__content {
    padding: 40px;
    box-sizing: border-box;
  }
}

.post__toc {
  position: fixed;
  top: 84px;
  bottom: 80px;
  overflow: auto;
  padding-left: 3px;
  right: 20px;
  max-width: 160px;
  display: none;

  &::-webkit-scrollbar {
    display: none;
  }

  .article__toc {
    overflow: initial;
    border-left: 1px solid rgba($gray, 0.28);
    margin: 0;
    font-size: 14px;
    line-height: 24px;

    li.current a,
    a:hover {
      color: $link;
    }

    a {
      display: block;
      margin-top: -24px;
      color: $gray;
    }
  }

  li {
    &:before {
      position: relative;
      top: -2px;
      left: -4px;
      display: inline-block;
      width: 7px;
      height: 7px;
      content: '';
      border-radius: 50%;
    }

    &.current:before {
      background-color: $link;
    }
  }
}

.comment {
  &-body-ref {
    position: absolute;
    left: 80px;
    right: 0;
  }

  &__title {
    text-align: center;
    padding: 40px 0;
    color: $gray;
  }

  #comments {
    position: relative;
  }

  .item {
    margin-bottom: 40px;
    border: 1px solid $fade-lighter;
    border-radius: 5px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 1px 4px rgba(0, 0, 0, .04);
    list-style: none;
    padding: 20px;

    &__meta {
      color: rgba($gray, .8);
      font-size: 12px;
    }

    &__avatar {
      float: left;
      height: 40px;
      width: 40px;
      border-radius: 20px;
      border: 1px solid rgba(0, 0, 0, .04);
      margin: 0 20px 20px 0;
      background-size: cover;
      background-position: center center;
    }

    &__name {
      color: rgba($gray, .8);
      float: left;
      line-height: 40px;

      a {
        color: $gray;

        &:hover {
          color: rgba($gray, .8);
        }
      }
    }

    &:hover {
      .item__reply {
        display: block;
      }
    }
  }

  #comment {
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    border: 0;
    resize: none;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 768px) {
  .pagination {
    margin-top: 5px;

    &__item {
      margin: 0 2px 5px 2px;
    }
  }

  .footer {
    margin-top: 0;

    .wrapper:after {
      content: none;
    }
  }

  .post__toc {
    z-index: 230;
    background: #fff;
    left: 0 !important;
    top: 0 !important;
    width: 100%;
    max-width: initial;
    box-sizing: border-box;
    display: none;
    bottom: 0;
  }

  .articles {
    margin: 10px auto;

    .item {
      padding: 10px;

      &__title a {
        font-size: 18px;
      }
    }
  }

  .article {
    &__bottom .item {
      margin: 0 0 10px 0;
    }
  }

  .comment {
    &__title {
      padding: 10px 0;
    }

    #comment,
    .item {
      margin-bottom: 10px;
      padding: 10px;
    }

    .item__avatar {
      margin: 0 10px 10px 0;
    }
  }

  .side__top--toc {
    display: block;
  }
}

//添加友链图片样式
.other__item img{
  max-width: 20px;
  max-height: 20px;
  width: 20px;
  height: 20px;
}

//添加音乐插件播放样式
//.aplayer.aplayer-fixed .aplayer-body{
//  max-width: 260px;
//  margin-bottom: 50px;
//  //margin-left: -66px;
//}
//.aplayer.aplayer-fixed{
//  margin-bottom:50px;
//  max-width:260px;
//}
//.aplayer.aplayer-fixed .aplayer-list{
//  margin-bottom: 66px;
//}
//返回顶部按钮样式
.side__top{
  color: red!important;
  background: #1fb5ad!important;
  width: 60px !important;
  height: 60px !important;
  border-radius: 50%;
}
//标题打字机样式
#elements{
  color: #ffffff;
}
.typed-cursor{
  opacity: 1;
  -webkit-animation: blink 0.7s infinite;
  -moz-animation: blink 0.7s infinite;
  animation: blink 0.7s infinite;
  color: greenyellow;
}
@keyframes blink{
  0% { opacity:1; }
  50% { opacity:0; }
  100% { opacity:1; }
}
@-webkit-keyframes blink{
  0% { opacity:1; }
  50% { opacity:0; }
  100% { opacity:1; }
}
@-moz-keyframes blink{
  0% { opacity:1; }
  50% { opacity:0; }
  100% { opacity:1; }
}
//添加音乐插件播放样式
.aplayer.aplayer-fixed .aplayer-body {
  max-width: 260px!important;
  margin-bottom: 50px!important;
}
.aplayer.aplayer-fixed{
  margin-bottom:60px!important;
  max-width:260px!important;
}
.aplayer.aplayer-fixed .aplayer-list{
  margin-bottom: 0.1px!important;
}
.aplayer.aplayer-fixed.aplayer-narrow .aplayer-body{
  left: -66px!important;
}
.aplayer .aplayer-lrc p{
  font-size: 15px!important;
  color: greenyellow!important;
  text-shadow: none!important;
}
.aplayer .aplayer-miniswitcher{
  background: #00cc00!important;
}
.aplayer .aplayer-pic{
  border-radius: 100% !important;
}

//aboutMe 样式
.h1_title{
  color: #2c5d8d;
}
.h2_introduce{
  color: #1fb5ad;
}
.aboutMeWrapper{
  background-color: lightgray;
}
.aboutMeContentBody{
  font-size: 16px;
  color: #CA1B1E;
  margin: auto;
}
//.title_name{
//  color: #CA1B1E;
//}
#elements{
  color: #CA1B1E;
}
//新增鼠标样式
html{
  cursor: url("https://img.lonuslan.com/lonuslan/20200502/InKHIJ0NtpfO.ico"), auto;
  font-family: 'webfont', 'Noto Serif SC','Source Han Serif SC','Source Han Serif','source-han-serif-sc','PT Serif','SongTi SC','MicroSoft Yahei',Georgia,serif;
}
//新增文章样式

//article{
//  display: block;
//}
h1.main-title{
  color:#666;
  font-size:22px;
  font-weight:400;
  border-bottom:1px dashed #ececec
}
h1 svg{
  width: 22px;
  height: 22px;
}
.site-main{padding:40px 0 0}
.site-content{max-width:800px;padding:0 10px;margin-left:auto;margin-right:auto;background-color:rgba(255,255,255,.8)}
.post-list{margin:0 0 8%;position:relative}
.feature{position:absolute;margin-top:10px}
.feature i{position:absolute;top:3px;left:3px;font-size:25px;color:#fff;width:94px;height:94px;line-height:94px;text-align:center;background:#bbe2db;border-radius:50%;opacity:0;z-index:1}
.overlay i{-moz-transition:opacity .4s ease-out;-o-transition:opacity .4s ease-out;-webkit-transition:opacity .4s ease-out;transition:opacity .4s ease-out}
.feature img{width:100px;height:100px;border-radius:50%;padding:2px;border:1px solid #dadada;position:relative}
.feature :hover .overlay i{opacity:1}
.post-list h1.entry-title{font-size:20px;font-weight:400;line-height:50px;margin:0 0 0 17%;position:relative;z-index:1;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:70%}
.entry-title a{color:#504e4e}
.entry-title a:hover{color:orange}.p-time{position:absolute;right:0;top:16px;font-size:12px;color:#989898;letter-spacing:0}.p-time i{font-size:14px;margin-right:5px}i.iconfont.hotpost{font-size:14px;color:#ff3b00}
.post-list p{min-height:60px;margin:0 0 0 17%;font-size:15px;color:rgba(0,0,0,.66);letter-spacing:0;line-height:30px}
.entry-footer{margin:0 0 0 17%;list-style:none}.post-more{margin-top:10px;text-align:right}
.post-more i{font-size:25px;color:#666}.post-more i:hover{color:#000}
.info-meta{margin-top:10px;position:absolute;top:20px;opacity:0;padding-top:8px;border-top:1px solid #ddd;-webkit-transform:translate3d(-150px,0,0);transform:translate3d(-150px,0,0);visibility:hidden;transition:.7s all ease;-webkit-transition:.6s all ease;-moz-transition:.6s all linear;-o-transition:.6s all ease;-ms-transition:.6s all ease}
.info-meta span{color:#000;font-size:13px;vertical-align:bottom}
.info-meta i{margin-top:3px;margin-right:10px;float:left}
.comnum{float:left}.info-meta a{color:#000}
.post-list:hover .info-meta{-webkit-transform:translate3d(-230px,0,0);transform:translate3d(-230px,0,0);opacity:1;visibility:visible}
.post-list hr{width:30%;height:1px;margin:0 auto;border:0;background:#efefef;margin-top:20px}@media (max-width:860px){.site-main{padding:15px 0 0}}
.post-list-thumb{
  float:left;
  width:100%;
  height:300px;
  position:relative;
  margin:20px 0 20px;
  border-radius:10px;
  background-color:rgba(255,255,255,0);
  box-shadow:0 1px 20px -6px rgba(0,0,0,.5);
  opacity:1;
  transition:box-shadow .3s ease
}
@media (min-width:860px){
  .post-list-thumb:hover{
    box-shadow:0 5px 10px 5px rgba(110,110,110,.4)
  }
}
@media (
max-width:860px){
  .post-list-thumb{margin:0;height:auto
  }
}
.post-list-thumb i{
  margin-right:5px;
  color:#989898;
  font-size:14px}
.post-content a{
  color: #77b6ff;
  font-size: 17px;
}

.post-list-thumb .post-title h3{
  text-overflow:ellipsis;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  word-wrap:break-word
}
.post-date,.post-meta,.post-meta a{
  color:#888;
  font-size:12px;
  margin: 10px 2px 10px 2px;
}.comments-number{margin:0 10px}
.post-thumb{
  float:right;
  width:55%
}
.post-thumb a{
  height:300px;
  position:relative;
  display:block;
  background-repeat:no-repeat;
  background-size:cover;
  overflow:hidden;
  border-radius:0 10px 10px 0
}
.post-thumb a img{width:100%;height:100%;object-fit:cover;pointer-events:none;transition:all .6s}
.post-list-thumb:hover img{transform:scale(1.1)}
.post-content-wrap{
  position:relative;
  display:inline-block;
  float:left;
  //padding-right:30px;
  padding-left:20px;
  width:40%;
  margin:30px 10px 0}
.float-content{
  position:relative;
  width:100%;
  right:0;margin:0;
  padding:0;z-index:50;
  color:rgba(0,0,0,.66)}
.post-bottom{
  margin-top: 30px;
  /* margin-right: 40px; */
  margin-left: 250px;
  a i{
    &:hover {
      color: #CA1B1E;
    }
  }
}
.float-content .post-text{display:inline-block;text-align:justify;font-size:14px}
.float-content i{font-size:14px;
  color:#666;
  :hover{
  background-color: #00cc00;
}
}
.float-content p{display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  height: auto;
  font-size: 16px;
  margin-top: 30px;
  overflow:hidden}
.post-list-thumb-left
.post-content-wrap{float:left;padding-left:30px;padding-right:0;text-align:right;margin:20px 10px 10px 0}
.post-list-thumb-left .post-thumb{
  float:left
}
.post-list-thumb-left .post-thumb a{border-radius:10px 0 0 10px}
@media (max-width:768px){
  .float-content p{
    height:auto;display:block
  }
  .post-bottom{
  }
  .post-list-thumb{padding:0;border:0;box-shadow:none}
  .post-thumb,.post-content-wrap,.float-content{width:100%;left:0}
  .post-content-wrap,.post-list-thumb-left .post-content-wrap{text-align:left;margin:0;padding:20px;float:none;box-shadow:none;border-top:0}
  .post-list-thumb:before{content:'';width:1px;height:100px;background-color:rgba(0,0,0,0);position:absolute;left:0;right:0;margin:auto;bottom:-101px;z-index:0}
  .float-content{box-shadow:none;padding:0;margin:0}
  .post-bottom{text-align:right}
  .post-list-thumb-left .post-thumb a,.post-thumb a{
    border-radius:10px
  }
}@media (max-width:600px){
  .post-thumb a{height:210px}
  .float-content .post-text{font-size:13px;margin-bottom:1em}}
.post-list-show{animation:post-list-show .5s;-webkit-animation:post-list-show .5s;opacity:1}
@keyframes post-list-show{0%{opacity:0;-webkit-transform:translateY(80px);transform:translateY(80px)}100%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}
.postava img{border-radius:50%;padding:2px;border:1px solid #e8e8e8;margin-top:25px}
.postava{float:right}
.post-status p{margin:0}
.s-time{position:relative;top:16px;font-size:12px;color:#989898;letter-spacing:1px;text-align:right;margin-bottom:10px;margin-top:-15px}
.s-content{min-height:60px;margin:0 14% 0 2%;padding:15px 30px;line-height:30px;border:1px dashed #e0e0e0;background:#fbfbfb}
.s-time i{font-size:13px;margin-right:5px}.post-status{margin-bottom:80px}

//添加第三方博客--
.otherblog{
  position: fixed;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 3px;
  font-size: 14px;
  //text-transform: uppercase;
  color: #fff;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  padding: 10px;
  cursor: pointer;
  //transition: left .3s ease;

  &:hover {
    opacity: .4;
  }

  a{
    text-decoration: none;
    color: greenyellow;
  }
}

//挥手样式
.styles_wave__1DWv- {
  animation-duration: 1.8s;
  animation-iteration-count: infinite;
  animation-name: styles_wave__1DWv-;
  display: inline-block;
  transform-origin: 70% 70%;
}
.styles_headline__2NyAR {
  font-size: 1.5em;
  font-weight: 700;
}
//文章页svg span在同一水平线上
.post-meta a svg{
  vertical-align: middle;
  width: 14px;
  height: 14px;
}
.post-date svg{
  vertical-align: text-top;
  width: 14px;
  height: 14px;
}
//修改文章页链接点击样式
.post-content a{
  text-decoration: none;

  &:hover{
    color: #CA1B1E;
  }
}

//修改全局字体样式
@font-face {
  font-family: 'webfont';
  font-display: swap;
  src: url('//at.alicdn.com/t/webfont_5se1l1smh3s.eot'); /* IE9*/
  src: url('//at.alicdn.com/t/webfont_5se1l1smh3s.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
  url('//at.alicdn.com/t/webfont_5se1l1smh3s.woff2') format('woff2'),
  url('//at.alicdn.com/t/webfont_5se1l1smh3s.woff') format('woff'), /* chrome、firefox */
  url('//at.alicdn.com/t/webfont_5se1l1smh3s.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
  url('//at.alicdn.com/t/webfont_5se1l1smh3s.svg#杨任东竹石体-Bold') format('svg'); /* iOS 4.1- */
}
//修改 valine 评论样式
//添加输入框背景图
#veditor {
  background-image: url(https://image.bestzuo.cn/images/20200708160947.gif);
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: right !important;
  background-color: rgba(255, 255, 255, 0) !important;
  resize: vertical !important;
  //当焦点时隐藏图片
  &:focus{
    background-position-y: 200px !important;
    transition: all 0.2s ease-in-out 0s !important;
  }
}
.Valine {
  width: 800px;
  & .vpanel {
    border-radius: 10px;
    border: 1px solid;
    transition: all .3s
  }
}
//设置头像旋转
.vimg {
  transition: all 1s !important;  /* 旋转时间为 1s */
  &:hover{
    transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
  }
}
//设置评论框背景
.Valine .vcards .vcard {
  padding: 15px 20px 0 20px;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 0 4px 1px rgba(0, 0, 0, .12);
  transition: all .3s
}
.Valine .vcards .vcard .vh .vcard {
  border: none;
  box-shadow: none;
}

hr{
  box-sizing: content-box;
  height: 0;
  width: 800px;
  overflow: visible;
  position: relative;
  margin: 2rem auto;
  border: 2px dashed #a4d8fa;
  background: #fff;
  :before{
    position: absolute;
    top: -10px;
    left: 5%;
    z-index: 1;
    color: #49b1f5;
    content: '\f0c4';
    font: normal normal normal 14px/1 FontAwesome;
    font-size: 20px;
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    -ms-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
  }
}
//侧边栏 svg 图标大小
.side__nav li a svg{
  width: 16px;
  height: 16px;
  vertical-align: middle;
}
.commentFont{

  & svg {
    width: 30px;
    height: 30px;
  }
  & img{
    width: 50px;
    height: 50px;
  }
}

//气泡提示
.popuptext{
  visibility: hidden;
  width: 160px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 8px 3px;
  position: absolute;
  z-index: 1;
  bottom: 110%;
  left: 50%;
  margin-left: -80px;

  &:after{
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent;
  }
}